# Higher-order function

def add( a, b ):
    print( 'a + b = ', ( a + b ) )

def sub( a, b ):
    print( 'a - b = ', ( a - b ) )

def multi( a, b ):
    print( 'a * b = ', ( a * b ) )

def div( a, b ):
    print( 'a / b = ', ( a / b ) )

def calcu( a, b, f ):
    f( a, b )

calcu( 2, 3, add )
calcu( 2, 3, sub )
calcu( 2, 3, multi )
calcu( 2, 3, div )